package com.qh.org.domain;

import com.qh.basic.domain.BaseDomain;
import lombok.Data;

@Data
public class Employee extends BaseDomain {
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    /* 确认密码 */
    private String comfirmPassword;
    private Integer age;
    private Integer state = 1;
    private Long department_id;
    private Long logininfo_id;
    private Long shop_id;
    private Department department;

    //关联角色表的-角色回显的，需要关联两张表，才能找到觉得名称，通过employee的id去找到对应t_employee_role
    //表的roleid，在通过连t_role表找到角色名字。
    private Long role_id;
    private String role_name;
}
